package com.ruoyi.generator.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.generator.po.*;

import java.util.List;

public interface InspectionService {
    List<ScheduleShift> selectScheduleList();

    AjaxResult saveEdit(ScheduleShift scheduleShift);

    String restore(String period);

    List<Device> selectDeviceList(Device device);

    List<SysDept> getDepts();

    List<SysUser> getUsers();

    List<WushuiSchedule> getSchedules();

    AjaxResult addCheckingPlan(CheckingPlan checkingPlan);

    List<SpotCheckPlan> getPlan(String planName);

    SysUser getUser();

    AjaxResult inspectionRecordUpload(InspectionRecord inspectionRecord);

    AjaxResult faultDeclaration(FaultDeclaration faultDeclaration);

    List<FaultDeclaration> getFaultDeclaration();
    List<InspectionRecord> getInspectionRecord();
}
